/****************************************************************************
** Form interface generated from reading ui file 'menu.ui'
**
** Created by User Interface Compiler
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef MENU_H
#define MENU_H

#include <qvariant.h>
#include <qpixmap.h>
#include <qwidget.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLineEdit;
class QLabel;
class QPushButton;
class QListBox;
class QListBoxItem;
class QTabWidget;
class QIconView;
class QIconViewItem;
class QTextView;
class QFrame;

class menu : public QWidget
{
    Q_OBJECT

public:
    menu( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~menu();
/**************************************************************************************/
     char ordlist[50];//用于存储点好的菜的序号
     int dcur;//存储当前点了的菜的数量 
     double tbill;//点了的所有菜的总价
     double dprice[8];//={20.0,15.0,18.0,21.0,40.0,30.0,15.0,16.0}菜价
 /**************************************************************************************/     

    QLineEdit* LEtotalmoney;
    QLabel* TLtatolmaney;
    QPushButton* PB0k;
    QPushButton* PBdelete;
    QPushButton* PBcanncel;
    QPushButton* PBclose;
    QLabel* TLordered;
    QListBox* LB;
    QTabWidget* Tabmenu;
    QWidget* tab;
    QLabel* TLwhere1;
    QLabel* TLfeature1;
    QLabel* TLmix1;
    QLabel* TLcook1;
    QLabel* TLname1;
    QIconView* IVdish1;
    QTextView* TVmix1;
    QTextView* TVcook1;
    QLineEdit* LEname1;
    QLineEdit* LEwhere1;
    QTextView* TVfeature1;
    QIconView* IVshow1;
    QPushButton* PBin_ok1;
    QWidget* tab_2;
    QLabel* TLname2;
    QLabel* TLwhere2;
    QLabel* TLfeature2;
    QLabel* TLmix2;
    QLabel* TLcook2;
    QLineEdit* LEname2;
    QLineEdit* LEwhere2;
    QTextView* TVfeature2;
    QIconView* IVdish2;
    QPushButton* PBin_ok2;
    QIconView* IVshow2;
    QTextView* TVmix2;
    QTextView* TVcook2;
    QWidget* tab_3;
    QLabel* TLname3;
    QLineEdit* LEname3;
    QLabel* TLwhere3;
    QLineEdit* LEwhere3;
    QLabel* TLfeature3;
    QTextView* TVfeature3;
    QLabel* TLmix3;
    QLabel* TLcook3;
    QPushButton* PBin_ok3;
    QIconView* IVdish3;
    QIconView* IVshow3;
    QTextView* TVmix3;
    QTextView* TVcook3;
    QWidget* tab_4;
    QLabel* TLname4;
    QLineEdit* LEname4;
    QLabel* TLwhere4;
    QLineEdit* LEwhere4;
    QLabel* TLfeature4;
    QTextView* TVfeature4;
    QLabel* TLmix4;
    QLabel* TLcook4;
    QPushButton* PBin_ok4;
    QIconView* IVdish4;
    QIconView* IVshow4;
    QTextView* TVmix4;
    QTextView* TVcook4;
    QWidget* tab_5;
    QLabel* TLname5;
    QLineEdit* LEname5;
    QLineEdit* LEwhere5;
    QLabel* TLwhere5;
    QLabel* TLfeature5;
    QTextView* TVfeature5;
    QLabel* TLmix5;
    QTextView* TVmix5;
    QLabel* TLcook5;
    QTextView* TVcook5;
    QIconView* IVdish5;
    QPushButton* PBin_ok5;
    QIconView* IVshow5;
    QWidget* tab_6;
    QLabel* TLname6;
    QLineEdit* LEname6;
    QLabel* TLwhere6;
    QLineEdit* LEwhere6;
    QLabel* TLfeature6;
    QTextView* TVfeature6;
    QLabel* TLmix6;
    QLabel* TLcook6;
    QIconView* IVdish6;
    QPushButton* PBin_ok6;
    QIconView* IVshow6;
    QTextView* TVmix6;
    QTextView* TVcook6;
    QWidget* tab_7;
    QLabel* TLname7;
    QLineEdit* LEname7;
    QLabel* TLwhere7;
    QLineEdit* LEwhere7;
    QLabel* TLfeature7;
    QTextView* TVfeature7;
    QLabel* TLmix7;
    QLabel* TLcook7;
    QFrame* Line7;
    QFrame* Line5;
    QFrame* Line6;
    QFrame* Line8;
    QIconView* IVdish7;
    QPushButton* PBin_ok7;
    QIconView* IVshow7;
    QTextView* TVmix7;
    QTextView* TVcook7;
    QWidget* tab_8;
    QLabel* TLname8;
    QLabel* TLwhere8;
    QLabel* TLfeature8;
    QLabel* TLmix8;
    QLabel* TLcook8;
    QFrame* Line4;
    QFrame* Line2;
    QFrame* Line1;
    QFrame* Line3;
    QPushButton* PBin_ok8;
    QIconView* IVdish8;
    QTextView* TVmix8;
    QTextView* TVcook8;
    QLineEdit* LEname8;
    QLineEdit* LEwhere8;
    QTextView* TVfeature8;
    QIconView* IVshow8;

public slots:
    virtual void canncel();
    virtual void delet();
    virtual void in_ok1();
    virtual void in_ok2();
    virtual void in_ok3();
    virtual void in_ok4();
    virtual void in_ok5();
    virtual void in_ok6();
    virtual void in_ok7();
    virtual void in_ok8();
    virtual void ok();

/**************************************************************************************/
     void reflash();//用于刷新已点的菜单和价钱
      void sender();//用于向端口发送数据
/**************************************************************************************/

protected:

protected slots:
    virtual void languageChange();

private:
    QPixmap image0;
    QPixmap image1;
    QPixmap image2;
    QPixmap image3;
    QPixmap image4;
    QPixmap image5;
    QPixmap image6;
    QPixmap image7;
    QPixmap image8;
    QPixmap image9;
    QPixmap image10;
    QPixmap image11;
    QPixmap image12;
    QPixmap image13;
    QPixmap image14;
    QPixmap image15;

};

#endif // MENU_H
